#include <iostream>
#include "utils/utils.h"

#include "Server/Server.h"

#include "Game.h"


//low: allow own style.css files...
using namespace std;


int main () {
	srand( time(NULL) ); //needed for random...

	g_pGame;
	g_pGame->init();


	Server server(8080);

	server.start();

	char msg = 'a';
	while (msg != 'q') {
		cout << "server is running...\n";
		cout << "(q)uit to stop server. \n";
		//cout << "will cout-ing q\\n quit too?"; NO it won't... i tried it
		cin >> msg;
	}
	server.stop();


	return 0;
}
